|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A reconcile step is one of n steps of a reconcile strategy that consists of several steps.
IReconcilingStrategy
Method Summary | |
IProgressMonitor |
getProgressMonitor()
Returns the progress monitor used to report progress. |
boolean |
isFirstStep()
Returns whether this is the first reconcile step or not. |
boolean |
isLastStep()
Returns whether this is the last reconcile step or not. |
IReconcileResult[] |
reconcile(DirtyRegion dirtyRegion,
IRegion subRegion)
Activates incremental reconciling of the specified dirty region. |
IReconcileResult[] |
reconcile(IRegion partition)
Activates non-incremental reconciling. |
void |
setInputModel(IReconcilableModel inputModel)
Tells this reconcile step on which model it will work. |
void |
setPreviousStep(IReconcileStep step)
Sets the step which is in front of this step in the pipe. |
void |
setProgressMonitor(IProgressMonitor monitor)
Sets the progress monitor to this reconcile step. |
Method Detail |
public boolean isLastStep()
true
if this is the last reconcile steppublic boolean isFirstStep()
true
if this is the last reconcile steppublic void setPreviousStep(IReconcileStep step)
Note: This method must be called at most once per reconcile step.
step
- the previous step
org.eclipse.jface.text.Assert#AssertionFailedException
- if called more than oncepublic IReconcileResult[] reconcile(DirtyRegion dirtyRegion, IRegion subRegion)
setDocument
.
dirtyRegion
- the document region which has been changedsubRegion
- the sub region in the dirty region which should be reconciled
public IReconcileResult[] reconcile(IRegion partition)
setDocument
.
partition
- the document partition to be reconciled
public void setProgressMonitor(IProgressMonitor monitor)
monitor
- the progress monitor to be usedpublic IProgressMonitor getProgressMonitor()
public void setInputModel(IReconcilableModel inputModel)
inputModel
- the model on which this strategy will work
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |